<!--
This file shows all of the ways to use the touchscreen toolkit

This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
-->
<html>
<head>
<link type="text/css" rel="Stylesheet" media="screen" href="touch.css"/>
<script language='JavaScript'>
  var enableEffects = false;
</script>
<script language='JavaScript' src='touchscreenToolkit.js' type='text/javascript'></script>
<script language='JavaScript' src='dateselector.js' type='text/javascript'></script>
  

</head>
<body>
<form>
  <!--
  <input type="text" name="Foo" value="a" ajaxURL="http://bbdev:81/proto/php/tsSuggest.php?search=" onkeyup="listSuggestions()" helpText="Enter the name of the person" />
  -->
  Name:
  <!--input type="text" name="Name" ajaxURL="/cgi-bin/listOfNames.pl?search=" onkeyup="listSuggestions()" helpText="Enter the name of the person" validationRegexp="^(\w)+$" /><br/-->
  <input type="text" name="Name" helpText="Enter the name of the person" validationRule="^(\w)+$" /><br/>
  Favorite Movie:
  <select name="Movie" helpText="Choose your favorite movie" validationRegexp="^(\w)+$">
    <option>Star Wars</option>
    <option>Romeo and Juliet</option>
    <option>Cabaret</option>
    <option>Snakes on a plane</option>
  </select><br/>
  Address:
  <input type="text" name="Address" value="b" helpText="Enter the Address of the person" validationRule="^(\w)+$"/><br/>
  Phone Number:
  <input type="hidden" name="SecretStuff" value="Wookoo wooku"/>
  <input type="text" name="Phone" value="0" helpText="Enter the Phone Number of the person" validationRegexp="([0-9])+$" field_type="number" /><br/>
  Month Name:
  <!--input type="text" name="MonthName" value="" helpText="Enter the Month name person's birthday" validationRegexp="^(january|february|march|april|may|june|july|august|september|october|november|december)$"/><br/-->
  <input type="text" name="MonthName" value="" helpText="Enter the Month name person's birthday" validationRule="^(January|February|March|April|May|June|July|August|September|October|November|December)$" /><br/>

  <input type="text" name="Date" value="" helpText="Enter the person's birthday" min="1900-01-01" field_type="date" /><br/>
  <input type="radio" name="Gender" value="Female" helpText="Select the sex of the person" validationRule="^(Female|Male)$"/> Female
  <input type="radio" name="Gender" value="Male" helpText="Select the sex of the person" validationRule="^(Female|Male)$" /> Male<br/>
  <input type="checkbox" name="Paid" helpText="Select if person has paid" validationRule="^(Yes|No)$" /> Paid

</form>

</body>

</html>
